package main

import (
	"github.com/labstack/echo"
	// "github.com/labstack/echo/middleware"
	ewa "gitee.com/jinquan711/ewa"
	cb "gitee.com/jinquan711/ewa/API_NonCookieTokenPost/cb"
)

func main() {

	ewa.ConfigParser()
	//ewa.ConfigPrint()

	e := echo.New()
	// e.Use(middleware.Logger())
	ewa.RouteRegistry_NonCookieTokenPost("/devicetype", e, cb.Cb_get_device_type)

	// e.Logger.Fatal(e.Start(ewa.EchoPort))
	e.Start(ewa.EchoPort)
}
